ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
72

find repeated records by JPQL

#1 contains GROUP BY / HAVING. The outer query in #1 contains the IN operator. The query in #3 ... since in #3 there is no GROUP BY / HAVING. support Support ... (select id from TTT s group id having count(id)>1) I dont know how to do this using JPQL, but I use
70

Problem with distinct select, order by and equivalent alias/attribute path

is less restrictive, and will except the query above. However, in DISTINCT and GROUP BY queries ... when ordering the results of some projection when the order by expression is different (though logically ... "             + "order by s_location.id asc";         System.out.println("Working query
16

Criteria Query Selection and Results

The JPA Criteria API interfaces in this group are used for setting the SELECT and ORDER BY clauses ... clause in a criteria query is represented by Selection: Because Selection is a super interface ... expressions can be represented by CompoundSelection, which is itself a subinterface of Selection
16

DELETE Queries in JPA/JPQL

multiple variables and JOIN, and cannot include the GROUP BY, HAVING and ORDER BY clauses ... As explained in chapter 2, entity objects can be deleted from the database by: Retrieving ... transaction, either explicitly by calling the remove method or implicitly by a cascading operation
16

UPDATE SET Queries in JPA/JPQL

queries cannot include the GROUP BY, HAVING and ORDER BY clauses, but the WHERE clause ... Existing entity objects can be updated, as explained in chapter 2, by: Retrieving the entity ... . Applying changes to the database by calling the commit method. JPQL UPDATE queries provide
16

JPA Criteria API Queries

). FROM clause (from, join, fetch). WHERE clause (where). GROUP BY / HAVING clauses (groupBy, having ... , are defined by the instantiation of Java objects that represent query elements. A major advantage ... factory of criteria queries and criteria query elements. It can be obtained either by
15

JPA Persistence Unit

A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes ... is optional when using ObjectDB, but required by JPA. persistence.xml Persistence units are defined in ... > </persistence-unit> </persistence> A persistence unit is defined by a persistence-unit XML element
15

Criteria Query From Elements

The interfaces in this group are in use for setting a criteria query FROM clause. Criteria Query ... are represented in criteria queries by descendant interfaces of the From interface: Range variables (bound by an entity class) are represented by the Root subinterface: Join variables (bound by
14

Blocked by find

, Object obj)" method which is synchronized and attempts to load an object by id using the EntityManager ... .ObjectDbInstanceContainer@9c71a4 owned by: DEV1-WSAgent-1-Existing/3 Total blocked: 190 Total waited: 69 ... : Name: uatsrtlonw342-WSAgent-1-New/4 State: BLOCKED on com.objectdb.o.LKM@254e85f4 owned by: ODB
1

javax.jdo.PersistenceManager

the PersistenceManagerFactory (recommended) or by construction. Since: JDO 1.0 void ... JDOUserException if the instance is transient or is managed by another PersistenceManager. Parameters: pc ... (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support